home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE panel SYSTEM "http://www.sigames.com/dtds/sios/panel.dtd">
-
- <!-- an example panel -->
- <panel>
- <!-- the panel has very simple content, just a label and a button arrange vertically
- one below the other -->
-
- <boolean id="late_loading" value="true"/>
-
- <!-- you specify the layout of the items with layout attachments -->
- <!-- this is the trickiest bit of the whole process -->
-
- <!-- first, we tell this container to lay out its content from top to bottom -->
- <layout class="arrange_vertical_attachment" alignment="top"/>
-
- <!-- then we tell it to make sure that all of its content sticks to the -->
- <!-- left hand edge of the panel -->
- <layout class="stick_to_sides_attachment" alignment="left" layout_children="true"/>
-
-
- <!-- this is where we actually create the widgets which form the content of the panel -->
-
- <!-- first, a label -->
- <!-- we will leave its text blank, because we're going to set it from code -->
- <widget class="label" id="exlb" auto_size="horizontal"/>
-
- <!-- then a button -->
- <!-- the name of the button won't change, so it's best to set it in XML -->
- <widget class="action_button" id="exbt" text="Example Button"/>
- </panel>